How to restrict user input JavaScript

welcome to shbcf.ru